﻿    CREATE TABLE [blog_Widget] (
		[widgetID] INTEGER IDENTITY (1, 1) NOT NULL ,
		[widget_Name] TEXT(50) NOT NULL ,
		[widget_Title] TEXT(50) NOT NULL ,
		[widget_Hidden] BIT NOT NULL ,
		[widget_Type] INTEGER NOT NULL ,
		[widget_Order] INTEGER NOT NULL ,
		[widget_Rate] INTEGER NOT NULL ,
		[widget_InstallTime] DATETIME NOT NULL ,
		[widget_IsInstall] BIT NOT NULL ,
		[widget_Content] TEXT NOT NULL ,
		[widget_IsSystem] BIT NOT NULL,
		PRIMARY KEY (widgetID)

    )
    

    
    ALTER TABLE [blog_Content]  
    (
    ADD COLUMN log_IsTop BIT NOT NULL,
    COLUMN log_EnableRss BIT NOT NULL
    )
    
    INSERT INTO [blog_settings] ([set_name], [set_type], [set_value0], [set_value1])  VALUES ('foot','1','0','foot');
    INSERT INTO [blog_settings] ([set_name], [set_type], [set_value0], [set_value1])  VALUES ('enableAjax','1','1','');